package com.kun.mapper;

import com.kun.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface MenuMapper {

    public int addMenu(Menu menu);

    public int deleteMenu(int id);

    public int updateMenu(Menu menu);

    public List<Menu> selectAllMenus(Map map);

}
